package com.zzptc.shop.db;

import java.sql.Connection;
import java.sql.SQLException;

public interface IDB {
    //获取数据库连接
    Connection getConnection()throws SQLException;
    //关闭数据库连接
    void closeConn()throws SQLException;
}
